package com.guigu.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.erp.pojo.DesignFile;
import com.guigu.erp.pojo.ManufactureManufacture;
import org.apache.ibatis.annotations.Select;

public interface ManufactureManufactureMapper extends BaseMapper<ManufactureManufacture> {
    /**
     * 查询ID最大的产品档案信息
     * @return
     */
    @Select("SELECT * FROM M_MANUFACTURE WHERE ID = (SELECT MAX(id) FROM M_MANUFACTURE )")
    ManufactureManufacture queryMaxFile();
}
